package com.fourth_groups.shopping121store.bean;

import java.util.List;

/**
 * Created by Administrator on 2016/10/14.
 */

public class SightBean {

    private DataBean data;
    /**
     * data : {"block":[{"type":"card-scroll","scale":3,"items":[{"id":494,"type":5,"title":"为什么明星政要握酒杯的姿势总是错的？","title_h5":"为什么明星政要握酒杯的姿势总是错的？","url":"http://m.121dian.com/note/47/?trace_data=%7B%22card_id%22%3A494%2C%22position%22%3A%22181.1.1%22%7D","content":"对大部分葡萄酒爱好者来说，学习品鉴的第一步通常就是如何持杯。而最标准的做法一般就是......","image":"http://image.121dian.com/site//d8abe362ec61e5aeb24ee21392f2a776.jpg","corner_ico":"","corner":{},"config_count":5,"config":{"width":750,"height":450,"layout":"2","cover_text":"文案是标题","tag_text":"精致生活"},"trace":{"data":{"card_id":494,"position":"181.1.1"},"data_str":"{\"card_id\":494,\"position\":\"181.1.1\"}"}},{"id":2033,"type":5,"title":"提供你健康的绿色通道","title_h5":"提供你健康的绿色通道","url":"http://m.121dian.com/note/85/h_kml4yz?trace_data=%7B%22card_id%22%3A2033%2C%22position%22%3A%22181.1.2%22%7D","content":"","image":"http://image.121dian.com/site/121/8228922041dea482690f1e78b6a243ed.jpg","corner_ico":"","corner":{},"config_count":5,"config":{"width":750,"height":496,"layout":"2","cover_text":"文案是标题","tag_text":"健康生活"},"trace":{"data":{"card_id":2033,"position":"181.1.2"},"data_str":"{\"card_id\":2033,\"position\":\"181.1.2\"}"}},{"id":2398,"type":5,"title":"看，大家快来围观网络主播！","title_h5":"看，大家快来围观网络主播！","url":"http://m.121dian.com/new_activity/511/?trace_data=%7B%22card_id%22%3A2398%2C%22position%22%3A%22181.1.3%22%7D","content":"","image":"http://image.121dian.com/site/121/f00a860b8a2a0f446b0e16494ead2f9b.jpg","corner_ico":"","corner":{},"config_count":5,"config":{"width":750,"height":496,"layout":"2","cover_text":"文案是标题","tag_text":"主播推荐"},"trace":{"data":{"card_id":2398,"position":"181.1.3"},"data_str":"{\"card_id\":2398,\"position\":\"181.1.3\"}"}}]},{"type":"card-flat","scale":1,"items":[{"id":3133,"type":5,"title":"看完微微一笑很倾城顿时发现自己忘了...","title_h5":"看完微微一笑很倾城顿时发现自己忘了...","url":"http://m.121dian.com/note/93/h_kml4yz?trace_data=%7B%22card_id%22%3A3133%2C%22position%22%3A%22181.2.1%22%7D","content":"","image":"http://image.121dian.com/site/121/d7793f48a51baa55985f0c57252ba52c.jpg@!w750","corner_ico":"","corner":{},"config_count":5,"config":{"width":750,"height":400,"layout":"3","cover_text":"文案是标题","tag_text":""},"trace":{"data":{"card_id":3133,"position":"181.2.1"},"data_str":"{\"card_id\":3133,\"position\":\"181.2.1\"}"}}]},{"type":"card-flat","scale":1,"items":[{"id":2163,"type":5,"title":"北有人参，南有什么？想知道吗，快戳进来吧","title_h5":"北有人参，南有什么？想知道吗，快戳进来吧","url":"http://m.121dian.com/note/88/h_kml4yz?trace_data=%7B%22card_id%22%3A2163%2C%22position%22%3A%22181.2.2%22%7D","content":"","image":"http://image.121dian.com/site/121/a0fc2c2f765b86ce9d5237c58061371e.jpg@!w750","corner_ico":"","corner":{},"config_count":5,"config":{"width":750,"height":496,"layout":"3","cover_text":"文案是标题","tag_text":"健康食品"},"trace":{"data":{"card_id":2163,"position":"181.2.2"},"data_str":"{\"card_id\":2163,\"position\":\"181.2.2\"}"}}]},{"type":"card-flat","scale":1,"items":[{"id":1934,"type":5,"title":"千年美食，有一种味道是家乡的味道","title_h5":"千年美食，有一种味道是家乡的味道","url":"http://m.121dian.com/note/84/h_kml4yz?trace_data=%7B%22card_id%22%3A1934%2C%22position%22%3A%22181.2.3%22%7D","content":"灯盏果是流行于江西省上饶市铅山县一带的汉族特色小吃。","image":"http://image.121dian.com/site/121/18f9a4f6b59d35b7312eff8e308a8299.jpg@!w750","corner_ico":"","corner":{},"config_count":5,"config":{"width":750,"height":496,"layout":"3","cover_text":"文案是标题","tag_text":"美食系列"},"trace":{"data":{"card_id":1934,"position":"181.2.3"},"data_str":"{\"card_id\":1934,\"position\":\"181.2.3\"}"}}]},{"type":"card-flat","scale":1,"items":[{"id":1007,"type":5,"title":"黑芝麻最大功效竟然不是乌发，而是...","title_h5":"黑芝麻最大功效竟然不是乌发，而是...","url":"http://m.121dian.com/note/72/?trace_data=%7B%22card_id%22%3A1007%2C%22position%22%3A%22181.2.4%22%7D","content":"一直以来，都是吃黑养黑，其实，乌发并不是黑芝麻最主要的功效哦！","image":"http://image.121dian.com/site/121/8c76ebb328ece9ef5f1b347402cb9c30.jpg@!w750","corner_ico":"","corner":{},"config_count":5,"config":{"width":750,"height":450,"layout":"2","cover_text":"文案是标题","tag_text":"健康生活"},"trace":{"data":{"card_id":1007,"position":"181.2.4"},"data_str":"{\"card_id\":1007,\"position\":\"181.2.4\"}"}}]},{"type":"card-flat","scale":1,"items":[{"id":551,"type":5,"title":"墨镜选的好，瞬间被撩倒","title_h5":"墨镜选的好，瞬间被撩倒","url":"http://m.121dian.com/note/51/?trace_data=%7B%22card_id%22%3A551%2C%22position%22%3A%22181.2.5%22%7D","content":"想要通过墨镜华丽变身，那你知道脸型+墨镜怎么配才最完美吗？","image":"http://image.121dian.com/site//5fa663e3e4f3a146f7da32f530f1622a.jpg@!w750","corner_ico":"","corner":{},"config_count":5,"config":{"width":750,"height":450,"layout":"3","cover_text":"文案是标题","tag_text":"时尚潮流"},"trace":{"data":{"card_id":551,"position":"181.2.5"},"data_str":"{\"card_id\":551,\"position\":\"181.2.5\"}"}}]}]}
     * ret : 0
     * now_time : 1476408017
     * pagination : {"_url":"http://api.121dian.cn/v3/card","_offset":0,"_limit":10,"_count":5}
     */

    private int ret;
    private int now_time;
    /**
     * _url : http://api.121dian.cn/v3/card
     * _offset : 0
     * _limit : 10
     * _count : 5
     */

    private PaginationBean pagination;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public int getRet() {
        return ret;
    }

    public void setRet(int ret) {
        this.ret = ret;
    }

    public int getNow_time() {
        return now_time;
    }

    public void setNow_time(int now_time) {
        this.now_time = now_time;
    }

    public PaginationBean getPagination() {
        return pagination;
    }

    public void setPagination(PaginationBean pagination) {
        this.pagination = pagination;
    }

    public static class DataBean {
        /**
         * type : card-scroll
         * scale : 3
         * items : [{"id":494,"type":5,"title":"为什么明星政要握酒杯的姿势总是错的？","title_h5":"为什么明星政要握酒杯的姿势总是错的？","url":"http://m.121dian.com/note/47/?trace_data=%7B%22card_id%22%3A494%2C%22position%22%3A%22181.1.1%22%7D","content":"对大部分葡萄酒爱好者来说，学习品鉴的第一步通常就是如何持杯。而最标准的做法一般就是......","image":"http://image.121dian.com/site//d8abe362ec61e5aeb24ee21392f2a776.jpg","corner_ico":"","corner":{},"config_count":5,"config":{"width":750,"height":450,"layout":"2","cover_text":"文案是标题","tag_text":"精致生活"},"trace":{"data":{"card_id":494,"position":"181.1.1"},"data_str":"{\"card_id\":494,\"position\":\"181.1.1\"}"}},{"id":2033,"type":5,"title":"提供你健康的绿色通道","title_h5":"提供你健康的绿色通道","url":"http://m.121dian.com/note/85/h_kml4yz?trace_data=%7B%22card_id%22%3A2033%2C%22position%22%3A%22181.1.2%22%7D","content":"","image":"http://image.121dian.com/site/121/8228922041dea482690f1e78b6a243ed.jpg","corner_ico":"","corner":{},"config_count":5,"config":{"width":750,"height":496,"layout":"2","cover_text":"文案是标题","tag_text":"健康生活"},"trace":{"data":{"card_id":2033,"position":"181.1.2"},"data_str":"{\"card_id\":2033,\"position\":\"181.1.2\"}"}},{"id":2398,"type":5,"title":"看，大家快来围观网络主播！","title_h5":"看，大家快来围观网络主播！","url":"http://m.121dian.com/new_activity/511/?trace_data=%7B%22card_id%22%3A2398%2C%22position%22%3A%22181.1.3%22%7D","content":"","image":"http://image.121dian.com/site/121/f00a860b8a2a0f446b0e16494ead2f9b.jpg","corner_ico":"","corner":{},"config_count":5,"config":{"width":750,"height":496,"layout":"2","cover_text":"文案是标题","tag_text":"主播推荐"},"trace":{"data":{"card_id":2398,"position":"181.1.3"},"data_str":"{\"card_id\":2398,\"position\":\"181.1.3\"}"}}]
         */

        private List<BlockBean> block;

        public List<BlockBean> getBlock() {
            return block;
        }

        public void setBlock(List<BlockBean> block) {
            this.block = block;
        }

        public static class BlockBean {
            private String type;
            private int scale;
            /**
             * id : 494
             * type : 5
             * title : 为什么明星政要握酒杯的姿势总是错的？
             * title_h5 : 为什么明星政要握酒杯的姿势总是错的？
             * url : http://m.121dian.com/note/47/?trace_data=%7B%22card_id%22%3A494%2C%22position%22%3A%22181.1.1%22%7D
             * content : 对大部分葡萄酒爱好者来说，学习品鉴的第一步通常就是如何持杯。而最标准的做法一般就是......
             * image : http://image.121dian.com/site//d8abe362ec61e5aeb24ee21392f2a776.jpg
             * corner_ico :
             * corner : {}
             * config_count : 5
             * config : {"width":750,"height":450,"layout":"2","cover_text":"文案是标题","tag_text":"精致生活"}
             * trace : {"data":{"card_id":494,"position":"181.1.1"},"data_str":"{\"card_id\":494,\"position\":\"181.1.1\"}"}
             */

            private List<ItemsBean> items;

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public int getScale() {
                return scale;
            }

            public void setScale(int scale) {
                this.scale = scale;
            }

            public List<ItemsBean> getItems() {
                return items;
            }

            public void setItems(List<ItemsBean> items) {
                this.items = items;
            }

            public static class ItemsBean {
                private int id;
                private int type;
                private String title;
                private String title_h5;
                private String url;
                private String content;
                private String image;
                private String corner_ico;
                private int config_count;
                /**
                 * width : 750
                 * height : 450
                 * layout : 2
                 * cover_text : 文案是标题
                 * tag_text : 精致生活
                 */

                private ConfigBean config;
                /**
                 * data : {"card_id":494,"position":"181.1.1"}
                 * data_str : {"card_id":494,"position":"181.1.1"}
                 */

                private TraceBean trace;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getType() {
                    return type;
                }

                public void setType(int type) {
                    this.type = type;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }

                public String getTitle_h5() {
                    return title_h5;
                }

                public void setTitle_h5(String title_h5) {
                    this.title_h5 = title_h5;
                }

                public String getUrl() {
                    return url;
                }

                public void setUrl(String url) {
                    this.url = url;
                }

                public String getContent() {
                    return content;
                }

                public void setContent(String content) {
                    this.content = content;
                }

                public String getImage() {
                    return image;
                }

                public void setImage(String image) {
                    this.image = image;
                }

                public String getCorner_ico() {
                    return corner_ico;
                }

                public void setCorner_ico(String corner_ico) {
                    this.corner_ico = corner_ico;
                }

                public int getConfig_count() {
                    return config_count;
                }

                public void setConfig_count(int config_count) {
                    this.config_count = config_count;
                }

                public ConfigBean getConfig() {
                    return config;
                }

                public void setConfig(ConfigBean config) {
                    this.config = config;
                }

                public TraceBean getTrace() {
                    return trace;
                }

                public void setTrace(TraceBean trace) {
                    this.trace = trace;
                }

                public static class ConfigBean {
                    private int width;
                    private int height;
                    private String layout;
                    private String cover_text;
                    private String tag_text;

                    public int getWidth() {
                        return width;
                    }

                    public void setWidth(int width) {
                        this.width = width;
                    }

                    public int getHeight() {
                        return height;
                    }

                    public void setHeight(int height) {
                        this.height = height;
                    }

                    public String getLayout() {
                        return layout;
                    }

                    public void setLayout(String layout) {
                        this.layout = layout;
                    }

                    public String getCover_text() {
                        return cover_text;
                    }

                    public void setCover_text(String cover_text) {
                        this.cover_text = cover_text;
                    }

                    public String getTag_text() {
                        return tag_text;
                    }

                    public void setTag_text(String tag_text) {
                        this.tag_text = tag_text;
                    }
                }

                public static class TraceBean {
                    /**
                     * card_id : 494
                     * position : 181.1.1
                     */

                    private DataBean2 data;
                    private String data_str;

                    public DataBean2 getData() {
                        return data;
                    }

                    public void setData(DataBean2 data) {
                        this.data = data;
                    }

                    public String getData_str() {
                        return data_str;
                    }

                    public void setData_str(String data_str) {
                        this.data_str = data_str;
                    }

                    public static class DataBean2 {
                        private int card_id;
                        private String position;

                        public int getCard_id() {
                            return card_id;
                        }

                        public void setCard_id(int card_id) {
                            this.card_id = card_id;
                        }

                        public String getPosition() {
                            return position;
                        }

                        public void setPosition(String position) {
                            this.position = position;
                        }
                    }
                }
            }
        }
    }

    public static class PaginationBean {
        private String _url;
        private int _offset;
        private int _limit;
        private int _count;

        public String get_url() {
            return _url;
        }

        public void set_url(String _url) {
            this._url = _url;
        }

        public int get_offset() {
            return _offset;
        }

        public void set_offset(int _offset) {
            this._offset = _offset;
        }

        public int get_limit() {
            return _limit;
        }

        public void set_limit(int _limit) {
            this._limit = _limit;
        }

        public int get_count() {
            return _count;
        }

        public void set_count(int _count) {
            this._count = _count;
        }
    }
}
